package ooday02;

public class Chicken extends Animal{
    void layEgg() {
        System.out.println("我想下蛋");
    }

    @Override
    void eat() {
        System.out.println("我想吃小米");
    }

    Chicken() {
    }
    Chicken(String name,int age,String color) {
        super(name,age,color);
    }
}
